﻿using GalaSoft.MvvmLight.Messaging;
using System.Windows;

namespace Mahjong.View
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            Messenger.Default.Register<string>(this, "ActionAlert", ShowAlert);
        }

        private void ShowAlert(string obj)
        {
            MessageBox.Show(obj);
        }
    }
}